package com.xjk.pojo;

/**
 * @author Xjk
 */

public class ResultOverallObject {

    private Object result;
    private String message="";
    private Integer code = 200;

    public ResultOverallObject(Object result, String message) {
        this.result = result;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public ResultOverallObject(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "ResultOverallObject{" +
                "message='" + message + '\'' +
                ", code=" + code +
                ", result=" + result +
                '}';
    }
}
